<div class="layuimini-container">
    <form id="app-form" class="layui-form layuimini-form">

        <div class="layui-form-item">
            <label class="layui-form-label required">{:lang('upload.title')}</label>
            <div class="layui-input-block layuimini-upload">
                <input name="head_img" class="layui-input layui-col-xs6" lay-verify="required"
                       placeholder="{:lang('upload.tip')}" value="">
                <div class="layuimini-upload-btn">
                    <span><a class="layui-btn" data-upload="head_img" data-upload-exts="png|jpg|jpeg|gif"><i
                            class="fa fa-upload"></i> {:lang('upload.btn')}</a></span>
                </div>
            </div>
        </div>

    </form>
</div>
<script>
    layui.use(['myCommon'], function () {
        layui.myCommon.listen();
    });
</script>
